// import Movie from '@/pages/Movie'
export default [
  {
    name: 'movie',
    path: '/movie',
    component: () => import('@/pages/Movie'),
    children: [
      {
        name: 'hot',
        path: 'hot',
        // component:Movie
        component: () => import('@/pages/Movie/Hot')
      },
      {
        name: 'coming',
        path: 'coming',
        component: () => import('@/pages/Movie/Coming')
      },
    ]
  },
  {
    name: 'zixun',
    path: '/zixun',
    component: () => import('@/pages/Zixun'),
  },
  {
    name: 'cinema',
    path: '/cinema',
    component: () => import('@/pages/Cinema')
  },
  {
    name: 'city',
    path: '/city',
    component: () => import('@/pages/City')
  },
  {
    name: 'search',
    path: '/search',
    component: () => import('@/pages/Search')
  },
  {
    name: 'cinemadetail',
    path: '/cinemadetail/:cinemaId',
    component: () => import('@/pages/CinemaDetail')
  },
  {
    name: 'personal',
    path: '/personal',
    component: () => import('@/pages/Personal')
  },
  {
    name: 'login',
    path: '/login',
    component: () => import('@/pages/Login')
  },
  {
    path: '/movieDetail',
    name: 'movieDetail',
    component: () => import('@/pages/Movie/MovieDetail')
  },
  {
    path: '/',
    redirect: '/movie/hot',
  }
]
